<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>SemOpt: src/Labelling.cpp Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">SemOpt
   &#160;<span id="projectnumber">0.2alpha5-SCC</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('Labelling_8cpp.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">src/Labelling.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="Labelling_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00010"></a>00010 <span class="preprocessor">#include &quot;Labelling.h&quot;</span>
<a name="l00011"></a>00011 
<a name="l00016"></a>00016 <span class="keyword">const</span> Label <a class="code" href="classLabelling.html#aaf7f367dd2253b297cad3c622a0d2f49" title="Label representing an `in` argument.">Labelling::lab_in</a> = <span class="stringliteral">&quot;in&quot;</span>;
<a name="l00017"></a>00017 
<a name="l00022"></a>00022 <span class="keyword">const</span> Label <a class="code" href="classLabelling.html#afed946f9be5cb9f3d60ca37e4baf45ba" title="Label representing an `out` argument.">Labelling::lab_out</a> = <span class="stringliteral">&quot;out&quot;</span>;
<a name="l00023"></a>00023 
<a name="l00028"></a>00028 <span class="keyword">const</span> Label <a class="code" href="classLabelling.html#a4ae2c985855b2a4c084618b6493b0d92" title="Label representing an `undec` argument.">Labelling::lab_undec</a> = <span class="stringliteral">&quot;undec&quot;</span>;
<a name="l00029"></a>00029 
<a name="l00033"></a><a class="code" href="classLabelling.html#a1b39efa4639854ab11d540037e24c425">00033</a> <a class="code" href="classLabelling.html#a1b39efa4639854ab11d540037e24c425" title="Constructor.">Labelling::Labelling</a>()
<a name="l00034"></a>00034 {
<a name="l00035"></a>00035         this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a> = map&lt;Argument *, Label&gt;();
<a name="l00036"></a>00036         this-&gt;in = <a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a>();
<a name="l00037"></a>00037         this-&gt;out = <a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a>();
<a name="l00038"></a>00038         this-&gt;undec = <a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a>();
<a name="l00039"></a>00039 }
<a name="l00040"></a>00040 
<a name="l00051"></a><a class="code" href="classLabelling.html#adf68a6209e54925a46d30aa8369369dc">00051</a> <a class="code" href="classLabelling.html#a1b39efa4639854ab11d540037e24c425" title="Constructor.">Labelling::Labelling</a>(<a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a>* <span class="keyword">set</span>){
<a name="l00052"></a>00052         this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a> = map&lt;Argument *, Label&gt;();
<a name="l00053"></a>00053         this-&gt;in = <a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a>();
<a name="l00054"></a>00054         this-&gt;out = <a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a>();
<a name="l00055"></a>00055         this-&gt;undec = <a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a>();
<a name="l00056"></a>00056         <span class="keywordflow">for</span> (<span class="keyword">auto</span> it=set-&gt;begin();it!=<span class="keyword">set</span>-&gt;end();it++){
<a name="l00057"></a>00057                 this-&gt;<a class="code" href="classLabelling.html#a79e25a77b942e8395431fceceea2bb63" title="Add a new label to this set of labelling.">add_label</a>(*it,(*it)-&gt;getName());
<a name="l00058"></a>00058         }
<a name="l00059"></a>00059 }
<a name="l00060"></a>00060 
<a name="l00075"></a><a class="code" href="classLabelling.html#a5a0b6aa6ad39b35bac7ac2b8a37dec71">00075</a> <a class="code" href="classLabelIterator.html" title="Class defining a const iterator for the elements of a the labellings.">LabelIterator</a> <a class="code" href="classLabelling.html#a5a0b6aa6ad39b35bac7ac2b8a37dec71" title="Return the first Label of the argument inside this set.">Labelling::begin</a>()<span class="keyword"> const</span>{
<a name="l00076"></a>00076         <span class="keywordflow">return</span> <a class="code" href="classLabelIterator.html" title="Class defining a const iterator for the elements of a the labellings.">LabelIterator</a>(this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.begin());
<a name="l00077"></a>00077 }
<a name="l00078"></a>00078 
<a name="l00093"></a><a class="code" href="classLabelling.html#a9fba5e876b11a7cd0170b89b122cfdfb">00093</a> <a class="code" href="classLabelIterator.html" title="Class defining a const iterator for the elements of a the labellings.">LabelIterator</a> <a class="code" href="classLabelling.html#a9fba5e876b11a7cd0170b89b122cfdfb" title="Return the last Label of the argument inside this set.">Labelling::end</a>()<span class="keyword"> const</span>{
<a name="l00094"></a>00094         <span class="keywordflow">return</span> <a class="code" href="classLabelIterator.html" title="Class defining a const iterator for the elements of a the labellings.">LabelIterator</a>(this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.end());
<a name="l00095"></a>00095 }
<a name="l00096"></a>00096 
<a name="l00110"></a><a class="code" href="classLabelling.html#aa100bea37cb704545d188252ef03286f">00110</a> <a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a>* <a class="code" href="classLabelling.html#aa100bea37cb704545d188252ef03286f" title="converts a Labelling structure in a SetArguments">Labelling::getSetArguments</a>(){
<a name="l00111"></a>00111         <a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a>* result = <span class="keyword">new</span> <a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a>();
<a name="l00112"></a>00112         <span class="comment">//map&lt;Argument*,Label&gt;::iterator</span>
<a name="l00113"></a>00113         <span class="comment">//adding directly the pointers to the arguments: it makes it more quick</span>
<a name="l00114"></a>00114         <span class="keywordflow">for</span> (<span class="keyword">auto</span> it=this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.begin(); it!=this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.end();it++)
<a name="l00115"></a>00115                 result-&gt;<a class="code" href="classSetArguments.html#a989d8986ecf49baa0dc982766c0a5df4" title="Add an argument to the set.">add_Argument</a>(it-&gt;first);
<a name="l00116"></a>00116         <span class="keywordflow">return</span> result;
<a name="l00117"></a>00117 }
<a name="l00118"></a>00118 
<a name="l00140"></a><a class="code" href="classLabelling.html#a79e25a77b942e8395431fceceea2bb63">00140</a> <span class="keywordtype">void</span> <a class="code" href="classLabelling.html#a79e25a77b942e8395431fceceea2bb63" title="Add a new label to this set of labelling.">Labelling::add_label</a>(<a class="code" href="classArgument.html" title="Class representing an Argument.">Argument</a> * arg, Label l)
<a name="l00141"></a>00141 {
<a name="l00142"></a>00142         this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.insert(pair&lt;Argument *, Label&gt;(arg, l));
<a name="l00143"></a>00143         <span class="keywordflow">if</span> (l.compare(<a class="code" href="classLabelling.html#aaf7f367dd2253b297cad3c622a0d2f49" title="Label representing an `in` argument.">Labelling::lab_in</a>) == 0)
<a name="l00144"></a>00144                 this-&gt;in.<a class="code" href="classSetArguments.html#a989d8986ecf49baa0dc982766c0a5df4" title="Add an argument to the set.">add_Argument</a>(arg);
<a name="l00145"></a>00145         <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l.compare(<a class="code" href="classLabelling.html#afed946f9be5cb9f3d60ca37e4baf45ba" title="Label representing an `out` argument.">Labelling::lab_out</a>) == 0)
<a name="l00146"></a>00146                 this-&gt;out.<a class="code" href="classSetArguments.html#a989d8986ecf49baa0dc982766c0a5df4" title="Add an argument to the set.">add_Argument</a>(arg);
<a name="l00147"></a>00147         <span class="keywordflow">else</span> <span class="keywordflow">if</span> (l.compare(<a class="code" href="classLabelling.html#a4ae2c985855b2a4c084618b6493b0d92" title="Label representing an `undec` argument.">Labelling::lab_undec</a>) == 0)
<a name="l00148"></a>00148                 this-&gt;undec.<a class="code" href="classSetArguments.html#a989d8986ecf49baa0dc982766c0a5df4" title="Add an argument to the set.">add_Argument</a>(arg);
<a name="l00149"></a>00149 }
<a name="l00150"></a>00150 
<a name="l00156"></a><a class="code" href="classLabelling.html#a7d3ce55a661689eaa83408d4d9424117">00156</a> <span class="keywordtype">bool</span> <a class="code" href="classLabelling.html#a7d3ce55a661689eaa83408d4d9424117" title="Check whether an argument is in this labelling or not.">Labelling::exists_argument_labelling</a>(<a class="code" href="classArgument.html" title="Class representing an Argument.">Argument</a> *arg)
<a name="l00157"></a>00157 {
<a name="l00158"></a>00158         <span class="keywordflow">return</span> (this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.find(arg) != this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.end());
<a name="l00159"></a>00159 }
<a name="l00160"></a>00160 
<a name="l00166"></a><a class="code" href="classLabelling.html#a37bb1885f6412e0a2c66bde384413e43">00166</a> Label <a class="code" href="classLabelling.html#a37bb1885f6412e0a2c66bde384413e43" title="Returns the label of a given argument.">Labelling::get_label</a>(<a class="code" href="classArgument.html" title="Class representing an Argument.">Argument</a> *arg)
<a name="l00167"></a>00167 {
<a name="l00168"></a>00168         <span class="keywordflow">return</span> this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.at(arg);
<a name="l00169"></a>00169 }
<a name="l00170"></a>00170 
<a name="l00175"></a><a class="code" href="classLabelling.html#af8aa0d976a665c1a9ebbdb801d0a867d">00175</a> <a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a> *<a class="code" href="classLabelling.html#af8aa0d976a665c1a9ebbdb801d0a867d" title="Returns the set of arguments labelled as `in`.">Labelling::inargs</a>()
<a name="l00176"></a>00176 {
<a name="l00177"></a>00177         <span class="keywordflow">return</span> &amp;(this-&gt;in);
<a name="l00178"></a>00178 }
<a name="l00179"></a>00179 
<a name="l00184"></a><a class="code" href="classLabelling.html#afc828a13d1a3e406f56fa1f212b4824d">00184</a> <a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a> *<a class="code" href="classLabelling.html#afc828a13d1a3e406f56fa1f212b4824d" title="Returns the set of arguments labelled as `out`.">Labelling::outargs</a>()
<a name="l00185"></a>00185 {
<a name="l00186"></a>00186         <span class="keywordflow">return</span> &amp;(this-&gt;out);
<a name="l00187"></a>00187 }
<a name="l00188"></a>00188 
<a name="l00193"></a><a class="code" href="classLabelling.html#aedf4e3c3b0150317e5350945f088a424">00193</a> <a class="code" href="classSetArguments.html" title="Class encompassing a set of arguments.">SetArguments</a> *<a class="code" href="classLabelling.html#aedf4e3c3b0150317e5350945f088a424" title="Returns the set of arguments labelled as `undec`.">Labelling::undecargs</a>()
<a name="l00194"></a>00194 {
<a name="l00195"></a>00195         <span class="keywordflow">return</span> &amp;(this-&gt;undec);
<a name="l00196"></a>00196 }
<a name="l00197"></a>00197 
<a name="l00202"></a><a class="code" href="classLabelling.html#ac717b73662047c2ab68e0828ff3dc54e">00202</a> <span class="keywordtype">bool</span> <a class="code" href="classLabelling.html#ac717b73662047c2ab68e0828ff3dc54e" title="Check whether or not this labelling is empty.">Labelling::empty</a>()
<a name="l00203"></a>00203 {
<a name="l00204"></a>00204         <span class="keywordflow">return</span> this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.empty() &amp;&amp; this-&gt;in.<a class="code" href="classSetArguments.html#a91e548daa6d0859946c8604b1ebb8c5a" title="Check wether or not this set is empty.">empty</a>() &amp;&amp; this-&gt;out.<a class="code" href="classSetArguments.html#a91e548daa6d0859946c8604b1ebb8c5a" title="Check wether or not this set is empty.">empty</a>() &amp;&amp; this-&gt;undec.<a class="code" href="classSetArguments.html#a91e548daa6d0859946c8604b1ebb8c5a" title="Check wether or not this set is empty.">empty</a>();
<a name="l00205"></a>00205 }
<a name="l00206"></a>00206 
<a name="l00212"></a><a class="code" href="classLabelling.html#a600661b61ebd7f0da5faea3fdef97b6c">00212</a> <span class="keywordtype">void</span> <a class="code" href="classLabelling.html#a600661b61ebd7f0da5faea3fdef97b6c" title="Clone this labelling into a new one.">Labelling::clone</a>(<a class="code" href="classLabelling.html" title="Class representing a single labelling assignment.">Labelling</a> *other)
<a name="l00213"></a>00213 {
<a name="l00214"></a>00214         map&lt;Argument *, Label&gt;::iterator it;
<a name="l00215"></a>00215         <span class="keywordflow">for</span> (it = this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.begin(); it != this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.end(); it++)
<a name="l00216"></a>00216         {
<a name="l00217"></a>00217                 other-&gt;<a class="code" href="classLabelling.html#a79e25a77b942e8395431fceceea2bb63" title="Add a new label to this set of labelling.">add_label</a>((*it).first, (*it).second);
<a name="l00218"></a>00218         }
<a name="l00219"></a>00219 }
<a name="l00220"></a>00220 
<a name="l00221"></a>00221 Labelling::~Labelling()
<a name="l00222"></a>00222 {
<a name="l00223"></a>00223         <span class="comment">// TODO Auto-generated destructor stub</span>
<a name="l00224"></a>00224 }
<a name="l00225"></a>00225 
<a name="l00226"></a>00226 
<a name="l00231"></a><a class="code" href="classLabelling.html#ae96fb462fa9b3bd7becbd7744e21eb78">00231</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classLabelling.html#ae96fb462fa9b3bd7becbd7744e21eb78" title="get the number of elements stored in this set">Labelling::size</a>()<span class="keyword"> const</span>{
<a name="l00232"></a>00232         <span class="keywordflow">return</span> this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.size();
<a name="l00233"></a>00233 }
<a name="l00234"></a>00234 
<a name="l00255"></a><a class="code" href="classLabelling.html#a30feb527f78da10b5132f8acdd5d8f5b">00255</a> <a class="code" href="classLabelIterator.html" title="Class defining a const iterator for the elements of a the labellings.">LabelIterator</a> <a class="code" href="classLabelling.html#a30feb527f78da10b5132f8acdd5d8f5b" title="find a Label which has as key the pointer to an Argument">Labelling::find</a>(<span class="keyword">const</span> <a class="code" href="classArgument.html" title="Class representing an Argument.">Argument</a>* arg){
<a name="l00256"></a>00256         <span class="keywordflow">return</span> <a class="code" href="classLabelIterator.html" title="Class defining a const iterator for the elements of a the labellings.">LabelIterator</a>(this-&gt;<a class="code" href="classLabelling.html#a8512ec47bffffe4ca1d8650cc61e55a9">labelling</a>.find((<a class="code" href="classArgument.html" title="Class representing an Argument.">Argument</a>*)(arg)));
<a name="l00257"></a>00257 }
<a name="l00258"></a>00258 
<a name="l00259"></a>00259 
<a name="l00277"></a><a class="code" href="Labelling_8cpp.html#ac4e0bfe6bf8d4ca2df0ffffe90d87f9e">00277</a> <span class="keywordtype">bool</span> <a class="code" href="Labelling_8cpp.html#ac4e0bfe6bf8d4ca2df0ffffe90d87f9e" title="compare two Labelling according to their list.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classLabelling.html" title="Class representing a single labelling assignment.">Labelling</a>&amp; lhs,<span class="keyword">const</span> <a class="code" href="classLabelling.html" title="Class representing a single labelling assignment.">Labelling</a>&amp; rhs) {
<a name="l00278"></a>00278         <span class="keywordflow">if</span> (lhs.<a class="code" href="classLabelling.html#ae96fb462fa9b3bd7becbd7744e21eb78" title="get the number of elements stored in this set">size</a>()!=rhs.<a class="code" href="classLabelling.html#ae96fb462fa9b3bd7becbd7744e21eb78" title="get the number of elements stored in this set">size</a>())
<a name="l00279"></a>00279                 <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00280"></a>00280 
<a name="l00281"></a>00281         <span class="keyword">const</span> <a class="code" href="classArgument.html" title="Class representing an Argument.">Argument</a>* arg;
<a name="l00282"></a>00282         <span class="keywordflow">for</span> (<span class="keyword">auto</span> it=lhs.<a class="code" href="classLabelling.html#a5a0b6aa6ad39b35bac7ac2b8a37dec71" title="Return the first Label of the argument inside this set.">begin</a>();it!=lhs.<a class="code" href="classLabelling.html#a9fba5e876b11a7cd0170b89b122cfdfb" title="Return the last Label of the argument inside this set.">end</a>();it++){
<a name="l00283"></a>00283                 arg=it.getKeyValue();
<a name="l00284"></a>00284                 <span class="keywordflow">if</span> (((<a class="code" href="classLabelling.html" title="Class representing a single labelling assignment.">Labelling</a>&amp;)rhs).find(arg)==rhs.<a class="code" href="classLabelling.html#a9fba5e876b11a7cd0170b89b122cfdfb" title="Return the last Label of the argument inside this set.">end</a>()){
<a name="l00285"></a>00285                         <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00286"></a>00286                 }
<a name="l00287"></a>00287         }
<a name="l00288"></a>00288         <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00289"></a>00289 }
<a name="l00290"></a>00290 
<a name="l00301"></a><a class="code" href="Labelling_8cpp.html#a51bee584f2dc4685db614fec131cc1c3">00301</a> <span class="keywordtype">bool</span> <a class="code" href="Labelling_8cpp.html#a51bee584f2dc4685db614fec131cc1c3" title="computes the opposite of the operator ==">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classLabelling.html" title="Class representing a single labelling assignment.">Labelling</a>&amp; lhs,<span class="keyword">const</span> <a class="code" href="classLabelling.html" title="Class representing a single labelling assignment.">Labelling</a>&amp; rhs) {
<a name="l00302"></a>00302         <span class="keywordflow">return</span> !(lhs==rhs);
<a name="l00303"></a>00303 }
<a name="l00304"></a>00304 
<a name="l00305"></a>00305 
<a name="l00311"></a><a class="code" href="Labelling_8cpp.html#a1de91469b5411dab3862f37c1dc697a2">00311</a> ostream&amp; <a class="code" href="Argument_8cpp.html#a76ef732a0021f3ac6698582cf94a079e">operator&lt;&lt;</a>(ostream&amp; stream, <span class="keyword">const</span> <a class="code" href="classLabelling.html" title="Class representing a single labelling assignment.">Labelling</a>&amp; lab){
<a name="l00312"></a>00312         stream &lt;&lt; <span class="stringliteral">&quot;{&quot;</span>;
<a name="l00313"></a>00313         <span class="keywordflow">for</span> (<a class="code" href="classLabelIterator.html" title="Class defining a const iterator for the elements of a the labellings.">LabelIterator</a> it=lab.<a class="code" href="classLabelling.html#a5a0b6aa6ad39b35bac7ac2b8a37dec71" title="Return the first Label of the argument inside this set.">begin</a>();it!=lab.<a class="code" href="classLabelling.html#a9fba5e876b11a7cd0170b89b122cfdfb" title="Return the last Label of the argument inside this set.">end</a>();it++){
<a name="l00314"></a>00314                 stream &lt;&lt; *it &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;
<a name="l00315"></a>00315         }
<a name="l00316"></a>00316         stream &lt;&lt; <span class="stringliteral">&quot;}&quot;</span>;
<a name="l00317"></a>00317         <span class="keywordflow">return</span> stream;
<a name="l00318"></a>00318 }
<a name="l00319"></a>00319 
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="Labelling_8cpp.html">Labelling.cpp</a>      </li>

    <li class="footer">Generated on Fri Jan 17 2014 11:47:51 for SemOpt by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
